﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Ccr.Core;

namespace Ccr
{
    internal class TimerEntry
    {
        public Port<DateTime> Port;
        public Receiver<DateTime> Task;

        public TimerEntry(Port<DateTime> port, Receiver<DateTime> task)
        {
            this.Port = port;
            this.Task = task;
        }

        static public ITask TaskSelector(TimerEntry timerEntry)
        {
            return timerEntry.Task;
        }
    }
}
